package com.vinny.springbootflowable2.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Builder;

import java.time.LocalDateTime;

@Data
@Builder
@Schema(description = "流程节点信息VO")
public class ActivityInfoVO {
    
    @Schema(description = "节点ID")
    private String activityId;
    
    @Schema(description = "节点名称")
    private String activityName;
    
    @Schema(description = "节点类型")
    private String activityType;
    
    @Schema(description = "处理人")
    private String assignee;
    
    @Schema(description = "开始时间")
    private LocalDateTime startTime;
    
    @Schema(description = "结束时间")
    private LocalDateTime endTime;
    
    @Schema(description = "处理耗时(毫秒)")
    private Long durationInMillis;
    
    @Schema(description = "节点状态(active:进行中, completed:已完成)")
    private String status;
} 